VintaSoft Barcode .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Barcode.BarcodeInfo Namespace / QRStructuredAppendCharacter Class / CaluculateParityData Methods / CaluculateParityData(Byte[]) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    CaluculateParityData(Byte[]) Method (QRStructuredAppendCharacter)
    In This Topic
    Calcualtes the parity data.
    Syntax
    'Declaration
    
    Public Overloads Shared Function CaluculateParityData( _
    ByVal barcodeValue
    Original barcode value before division into symbol blocks.
    () As Byte _
    ) As Byte
    public static byte CaluculateParityData(
    byte[] barcodeValue
    )
    public: static byte CaluculateParityData(
    byte[]* barcodeValue
    )
    public:
    static byte CaluculateParityData(
    array<byte>^ barcodeValue
    )

    Parameters

    barcodeValue
    Original barcode value before division into symbol blocks.

    Return Value

    The parity data.
    Remarks

    The parity data is a value obtained by XORing byte by byte the byte values of all the original input data before division into symbol blocks.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also